package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Emp;
import com.itheima.pojo.EmpQueryParam;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Result;

import java.util.List;

public interface EmpService extends IService<Emp> {
    /*分页擦寻*/
    public PageResult pageds(EmpQueryParam param);

    void saveEmp(Emp emp);


    /*单一查询*/
    Emp getmpByid(Integer id);

    /*修改员工信息*/
    void updateEmp(Emp emp);


     /*批量删除员工信息*/
    Result removeEmpByIds(List<Integer> ids);
}
